package com.its.oa.model;

import java.util.Date;


/**
 * Department entity. @author MyEclipse Persistence Tools
 */

public class Department  implements java.io.Serializable {


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Short id;
     private String code;
     private String name;
     private String parentCode;
     private String codePath;
     private Date createtime;


    // Constructors

    /** default constructor */
    public Department() {
    }

    
    /** full constructor */
    public Department(String code, String name, String parentCode, String codePath, Date createtime) {
        this.code = code;
        this.name = name;
        this.parentCode = parentCode;
        this.codePath = codePath;
        this.createtime = createtime;
    }

   
    // Property accessors

    public Short getId() {
        return this.id;
    }
    
    public void setId(Short id) {
        this.id = id;
    }

    public String getCode() {
        return this.code;
    }
    
    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getParentCode() {
        return this.parentCode;
    }
    
    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public String getCodePath() {
        return this.codePath;
    }
    
    public void setCodePath(String codePath) {
        this.codePath = codePath;
    }

    public Date getCreatetime() {
        return this.createtime;
    }
    
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
   








}